<?php
namespace app\common\validate;
use think\Validate;

class BackendMenuModel extends Validate
{
	protected $rule = [
		'menu_name' => 'require',
		'parent_id' => 'require',
		'is_show' => 'require',
	];

	protected $message  = [
		'menu_name.require' => '菜单名字一定需要填写！',
		'parent_id.require' => '菜单上级一定需要填写！',
		'is_show.require' => '是否展示一定需要填写！',
	];

}